package com.mcf.xiaolinju.mapper;

import com.mcf.xiaolinju.entity.Goods;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author mcf
 * @since 2022-02-26
 */
public interface GoodsMapper extends BaseMapper<Goods> {

    Integer insertgoods(int userid, int villageid, int classifyid, String name, String brand, String type, String extent, String channel, String content, double price, double priced, double count, LocalDate buytime, String pictureurl, LocalDateTime ldt);

    List<Goods> selectbyclassfyid(int classifyid,int villageid);
    Goods selectbyid(int id,int villageid);
}
